<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>系统登录界面</title>
    <link rel="stylesheet" href="./resource/css/login.css">
</head>
<body>
<img src="./images/login/logo.png" alt="truck" class="truck-animation">

<div class="login-container">
    <!-- 表单部分 -->
    <form id="loginForm" onsubmit="return false;">
        <div class="form-group">
            <input type="text"
                   class="form-input"
                   id="account"
                   name="account"
                   placeholder="请输入账号"
                   required
                   autocomplete="username">
        </div>

        <div class="form-group password-container">
            <input type="password"
                   class="form-input"
                   id="password"
                   name="password"
                   placeholder="请输入密码"
                   required
                   autocomplete="current-password">
            <span class="show-password" onclick="togglePassword()">👁️</span>
        </div>

        <div class="remember-forgot">
            <label>
                <input type="checkbox" name="remember"> 记住登录
            </label>
        </div>

        <button type="button" class="login-btn" onclick="submitLogin()">立即登录</button>
    </form>
</div>

<script src="./resource/js/login.js"></script>
</body>
</html>